package cn.fl.project.vo;

import cmm.web.core.framework.vo.BaseVO;

import java.util.Objects;

/**
 * @Description: 项目转办组织架构设置表
 */
public class PrjTransSettingVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    /**
     * 转出组织架构ID
     */
    private Long outOrgId;
    /**
     * 转出组织架构代码
     */
    private String outOrgCd;
    /**
     * 转入组织架构名称
     */
    private String outOrgNm;
    /**
     * 转入组织架构ID
     */
    private Long inOrgId;
    /**
     * 转入组织架构代码
     */
    private String inOrgCd;
    /**
     * 转入组织架构名称
     */
    private String inOrgNm;
    /**
     * 是否删除（1：是，0：否）
     */
    private Integer isDel;


    /**
     * 转出组织架构ID
     */
    public Long getOutOrgId() {
        return outOrgId;
    }

    /**
     * 转出组织架构ID
     */
    public void setOutOrgId(Long outOrgId) {
        this.outOrgId = outOrgId;
    }

    /**
     * 转出组织架构代码
     */
    public String getOutOrgCd() {
        return outOrgCd;
    }

    /**
     * 转出组织架构代码
     */
    public void setOutOrgCd(String outOrgCd) {
        this.outOrgCd = outOrgCd;
    }

    /**
     * 转入组织架构ID
     */
    public Long getInOrgId() {
        return inOrgId;
    }

    /**
     * 转入组织架构ID
     */
    public void setInOrgId(Long inOrgId) {
        this.inOrgId = inOrgId;
    }

    /**
     * 转入组织架构代码
     */
    public String getInOrgCd() {
        return inOrgCd;
    }

    /**
     * 转入组织架构代码
     */
    public void setInOrgCd(String inOrgCd) {
        this.inOrgCd = inOrgCd;
    }

    /**
     * 是否删除（1：是，0：否）
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * 是否删除（1：是，0：否）
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getOutOrgNm() {
        return outOrgNm;
    }

    public void setOutOrgNm(String outOrgNm) {
        this.outOrgNm = outOrgNm;
    }

    public String getInOrgNm() {
        return inOrgNm;
    }

    public void setInOrgNm(String inOrgNm) {
        this.inOrgNm = inOrgNm;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        PrjTransSettingVO that = (PrjTransSettingVO) o;
        return Objects.equals(outOrgId, that.outOrgId) &&
                Objects.equals(outOrgCd, that.outOrgCd) &&
                Objects.equals(outOrgNm, that.outOrgNm) &&
                Objects.equals(inOrgId, that.inOrgId) &&
                Objects.equals(inOrgCd, that.inOrgCd) &&
                Objects.equals(inOrgNm, that.inOrgNm);
    }

    @Override
    public int hashCode() {
        return Objects.hash(outOrgId, outOrgCd, outOrgNm, inOrgId, inOrgCd, inOrgNm, isDel);
    }
}
